package com.jianglin.mapper;

import com.jianglin.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author jianglin
 * 从user表中查询
 */
@Mapper
public interface UserMapper {
    @Select("select * from user where name=#{name}")
    User findUserByName(String username);
}
